home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1954 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.amu.edu.pl!usenet
  2. From: Marcin Orlowski <carlos@felix.univ.szczecin.pl>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: More
  5. Date: Thu, 25 Jan 1996 14:33:57 +0100
  6. Organization: W.F.M.H.
  7. Message-ID: <310786C5.41C6@felix.univ.szczecin.pl>
  8. References: <9601201749.AA00046@cliffe.demon.co.uk> <593.6596T663T358@cycor.ca>
  9. NNTP-Posting-Host: felix.univ.szczecin.pl
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b5 (X11; I; IRIX 5.2 IP12)
  14.  
  15. gcaine wrote:
  16. > >Thanks for the last lot of help but i am looking for something like this
  17. > >but when i try too compile it i get
  18. > >SAS/C Amiga Compiler 6.56
  19. > >Copyright (c) 1988-1995 SAS Institute Inc.
  20. > >====================
  21. > >        if(!(fh = fopen("T:xx", "w")))
  22. > >Work-1:Steve1.c 41 Warning 225: pointer type mismatch
  23. > >                                "BPTR" does not match "struct __iobuf *"
  24. > >int main(int argc, char **argv)
  25. > >{
  26. > > struct WBArg      *wbarg;
  27. > > struct DiskObject *dobj;
  28. > > UBYTE             **tools,*textp;
  29. > > BPTR             fh;
  30. >  ^^^^
  31. >  Shouldn't that be FILE?
  32.  
  33.    Or better FILE*  
  34.  
  35. -- 
  36. Greetings, Marcin 
  37.  
  38. -----------------------------------------------------------------------------
  39.                               Marcin Orlowski
  40.  
  41.                    E-Mail: carlos@felix.univ.szczecin.pl
  42.               WWW:  dedal.man.szczecin.pl/~carlos/carlos.html
  43.               SilverDream!'s BBS: +48 (0)91 540431 (non-stop)
  44. -----------------------------------------------------------------------------
  45.